package ogmios.components.munches;
import java.util.List;
/**
 * An IDE task that can be invoked
 */
public interface Command
{
 /**
 * Returns a description of the Command
 * <br>
 * Although you can format your man page however you want, the typical format is:<br>
 * COMMAND NAME<br>
 * <br>
 * DESCRIPTION<br>
 * Here is my description<br>
 * <br>
 * USAGE<br>
 * command [options] <required><br>
 * ...<br>
 * <br>
 * AUTHOR(S)<br>
 * Author name(s)
 */
 String getManPage();
 /**
 * Executes the command. If the command does not succeed, it will throw
 * a Throwable.
 * <br/>
 * execute should only be called once. If a command's execute method is needed more than once,
 * a new instance should be created for each subsequent call.
 */ 
 void execute(Context env, List<String> args) throws Throwable;
}
